AllowSchemaAndApp<n>

String (schema-name[, application-name][, time-out])

Not specified

Purpose

When the EnableAppRestrictions parameter is set to true, only the schema and optional applications specified in the AllowSchemaAndApp<n> parameters can be executed from presentation clients attached to the application server. The <n> variable in the parameter name indicates a unique number; for example:

AllowSchemaAndApp1 = MySchema, MyApp
AllowSchemaAndApp2 = MyOtherSchema, MyOtherApp
AllowSchemaAndApp3 = AllAppSchema

In this example, only the MyApp application in the MySchema schema, the MyOtherApp application in the MyOtherSchema, and any application in the AllAppSchema can be executed.

If a user attempts to start any other application, the initiation request is rejected with a 14139 error, whose text states: The execution of that application is not available from the connected Application Server.

All applications can be executed when the EnableAppRestrictions parameter is set to false (the default).

When your system has application restrictions (that is, the EnableAppRestrictions parameter is set to true in the [JadeAppServer] section and you want to use the JADE Monitor or to inspect your schemas, you must specify JadeMonitorSchema as a schema that can be executed from presentation clients attached to the application server; for example:

AllowSchemaAndApp4 = JadeMonitorSchema

For details about the syntax of this parameter when the EnableAppRestrictions parameter is set to true and you want to specify a connection timeout period for a specific schema and optional application, see the ConnectionTimeout parameter, later in this section.

When the EnableAppRestrictions parameter is set to true and the application being started is not a permitted application defined in the JADE initialization file, the following message is displayed when attempting to start the application from the JADE development environment.

Application app-name cannot be started from the connected application server

In this message, the app-name value is the name of the application that is required to run.

To avoid unexpected presentation client rejections, all application servers that are balancing presentation client connections within the same group must use the same value for the EnableAppRestrictions and AllowSchemaAndApp parameters.

Parameter is read when …

A presentation client attempts to sign on to an application.